package com.aixin.project.data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by IntelliJ IDEA. User: Administrator Date: 12-4-14 Time: 上午2:22 To
 * change this template use File | Settings | File Templates.
 */
public class User implements Serializable {
    private long id;

    private String username;

    private String password;

    private String contactperson;

    private String contactdetails;

    private String contactemail;
    private String contactschool;
    private Date createtime;

	private int verified;
    
    private int online;

    public int getOnline() {
        return online;
    }

    public void setOnline(int online) {
        this.online = online;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getContactschool() {
        return contactschool;
    }

    public void setContactschool(String contactschool) {
        this.contactschool = contactschool;
    }

    public String getContactdetails() {
        return contactdetails;
    }

    public void setContactdetails(String contactdetails) {
        this.contactdetails = contactdetails;
    }

    public String getContactemail() {
        return contactemail;
    }

    public void setContactemail(String contactemail) {
        this.contactemail = contactemail;
    }

    public String getContactperson() {
        return contactperson;
    }

    public void setContactperson(String contactperson) {
        this.contactperson = contactperson;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public User(long id, String username) {
        this.id = id;
        this.username = username;
    }

    public User() {
    }

    public User(String username, String password,String contactschool, String contactperson, String contactdetails, String contactemail) {
        this.username = username;
        this.password = password;
        this.contactschool = contactschool;
        this.contactperson = contactperson;
        this.contactdetails = contactdetails;
        this.contactemail = contactemail;
    }

	public int getVerified() {
		return verified;
	}

	public void setVerified(int verified) {
		this.verified = verified;
	}
}
